﻿//通用防具评分数据
var commonDefenseScoreData = {
	/* 主属性 */
	strength : 30,
	dexterity : 30,
	intelligence : 30,
	/* 体能 */
	vitality : 15,
	/* 护甲 */
	armor : 5,
	/* 全抗 */
	allResistance : 20,
	/* 单抗 */
	coldResistance : 15,
	poisonResistance : 15,
	fireResistance : 15,
	physicalResistance : 20,
	arcaneResistance : 20,
	electricResistance : 15,
	/* 寻魔 */
	magicFound : 15,
	/* 寻金 */
	goldFound : 5,
	/* 拾取 */
	increaseYards : 8,
	/* 秒回 */
	replyLife : 15,
	/* 降级 */
	reduceLevelRequired : 5
}

/* 爆击属性分数 */
var criticalChanceScoreData = {
	/* 爆率 */
	criticalChance : 20

};
var criticalDamageScoreData = {
	/* 爆伤 */
	criticalDamage : 20
};

/* 精英减伤属性分数 */
var eliteMonsterDamageReductionScoreData = {
	/* 精英减伤 */
	eliteMonsterDamageReduction : 6
};

/* 返伤属性分数 */
var reboundDamageScoreData = {
	/* 返伤 */
	reboundDamage : 5
};

/* 生命百分比提高属性分数 */
var incrementLifeScoreData = {
	/* 生命提高 */
	incrementLife : 15
};

/* 孔属性分数 */
var holeScoreData = {
	/* 孔 */
	hole : 20
};

/* 减少控场时间属性分数 */
var reduceControlTimeScoreData = {
	/* 控场 */
	reduceControlTime : 10
};

/* 远程减伤属性分数 */
var rangedDamageReductionScoreData = {
	/* 远程减伤 */
	rangedDamageReduction : 10
};

/* 近战减伤属性分数 */
var meleeDamageReductionScoreData = {
	/* 近程减伤 */
	meleeDamageReduction : 15
};

/* 增加攻击速度属性分数 */
var incrementAttachSpeedScoreData = {
	/* 攻速 */
	incrementAttachSpeed : 15
};

/* 加移动速度属性分数 */
var incrementMoveSpeedScoreData = {
	/* 移速 */
	incrementMoveSpeed : 20
};

/* 击中恐惧属性分数 */
var fearOnHitScoreData = {
	/* 恐惧 */
	fearOnHit : 7
};

/* 击退属性分数 */
var knockbackOnHitScoreData = {
	/* 击退 */
	knockbackOnHit : 10
};

/* 击晕属性分数 */
var stunOnHitScoreData = {
	/* 击晕 */
	stunOnHit : 10
};

/* 击中冰冷属性分数 */
var chillOnHitScoreData = {
	/* 冰冷 */
	chillOnHit : 5
};

/* 击中冻结属性分数 */
var freezeOnHitScoreData = {
	/* 冻结 */
	freezeOnHit : 10
};

/* 击中减速属性分数 */
var slowOnHitScoreData = {
	/* 减速 */
	slowOnHit : 5
};

/* 击中定身属性分数 */
var immobilizeOnHitScoreData = {
	/* 定身 */
	immobilizeOnHit : 7
};

/* 头盔 */
var helmetGreatScoreData = {};
var helmetSpecialScoreData = {};
helmetSpecialScoreData = $.extend( {}, helmetSpecialScoreData,
		criticalChanceScoreData, reboundDamageScoreData,
		incrementLifeScoreData, holeScoreData, reduceControlTimeScoreData,
		fearOnHitScoreData);

/* 护肩 */
var shoulderGreatScoreData = {};
var shoulderSpecialScoreData = {};
shoulderSpecialScoreData = $.extend( {}, shoulderSpecialScoreData,
		reduceControlTimeScoreData, incrementLifeScoreData,
		reboundDamageScoreData, chillOnHitScoreData);

/* 护腕 */
var wristGreatScoreData = {};
var wristSpecialScoreData = {};
wristSpecialScoreData = $.extend( {}, wristSpecialScoreData,
		criticalChanceScoreData, reboundDamageScoreData,
		rangedDamageReductionScoreData, meleeDamageReductionScoreData,
		knockbackOnHitScoreData);

// 手套
var glovesGreatScoreData = {};
var glovesSpecialScoreData = {};

glovesSpecialScoreData = $.extend( {}, glovesSpecialScoreData,
		incrementAttachSpeedScoreData, criticalChanceScoreData,
		criticalDamageScoreData, stunOnHitScoreData);

/* 胸甲 */
var breastplateGreatScoreData = {};
var breastplateSpecialScoreData = {};
breastplateSpecialScoreData = $.extend( {}, breastplateSpecialScoreData,
		holeScoreData, reduceControlTimeScoreData, incrementLifeScoreData,
		rangedDamageReductionScoreData, meleeDamageReductionScoreData,
		eliteMonsterDamageReductionScoreData);

/* 腰带 */
var beltGreatScoreData = {};
var beltSpecialScoreData = {};
beltSpecialScoreData = $.extend( {}, beltSpecialScoreData,
		incrementLifeScoreData, reboundDamageScoreData, freezeOnHitScoreData);

/* 裤子 */
var pantsGreatScoreData = {};
var pantsSpecialScoreData = {};
pantsSpecialScoreData = $.extend( {}, pantsSpecialScoreData, holeScoreData,
		reboundDamageScoreData, slowOnHitScoreData);

/* 鞋子 */
var shoesGreatScoreData = {};
var shoesSpecialScoreData = {};
shoesSpecialScoreData = $.extend( {}, shoesSpecialScoreData,
		incrementMoveSpeedScoreData, immobilizeOnHitScoreData);

var helmetScoreData = $.extend( {}, commonDefenseScoreData,
		helmetSpecialScoreData, helmetGreatScoreData);
var shoulderScoreData = $.extend( {}, commonDefenseScoreData,
		shoulderSpecialScoreData, shoulderGreatScoreData);
var wristScoreData = $.extend( {}, commonDefenseScoreData,
		wristSpecialScoreData, wristGreatScoreData);
var glovesScoreData = $.extend( {}, commonDefenseScoreData,
		glovesSpecialScoreData, glovesGreatScoreData);
var breastplateScoreData = $.extend( {}, commonDefenseScoreData,
		breastplateSpecialScoreData, breastplateGreatScoreData);
var beltScoreData = $.extend( {}, commonDefenseScoreData, beltSpecialScoreData,
		beltGreatScoreData);
var pantsScoreData = $.extend( {}, commonDefenseScoreData,
		pantsSpecialScoreData, pantsGreatScoreData);
var shoesScoreData = $.extend( {}, commonDefenseScoreData,
		shoesSpecialScoreData, shoesGreatScoreData);